﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using System.Linq;
using System.Data.Linq;
using System.Collections.Generic;
namespace Exact_Extension
{
    public partial class ProformaInvOTHFRpt : DevExpress.XtraReports.UI.XtraReport
    {

        List<ISHCMC_V_SaleJournal> ListSaleInvoice;
     
        
        public ProformaInvOTHFRpt()
        {
            InitializeComponent();
           
        }
        public void SetListInvoiceDetail(ISHCMC_V_SaleJournal itemSaleJournal)
        {
            ListSaleInvoice = new List<ISHCMC_V_SaleJournal>();
            ListSaleInvoice.Add(itemSaleJournal);
                
        }
        public void SetTitle(string _title)
        {
            
        }
        public void SetAttention(string attention)
        {
          //  this.lbAttention.Text = attention;
        }
        private void ProformaInv_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
            this.bindingSource1.DataSource = ListSaleInvoice;
        }

        private void lbGrade_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {

        }

    }
}
